using Bingo.API.Config;
using CatLib;
using UnityEngine;

namespace Bingo
{
    /// <summary>
    /// 配置服务提供者
    /// </summary>
    public class ProviderConfig : ServiceProvider
    {
        public override void Init()
        {
            Facades.ConfigSystem.Load();
        }

        public override void Register()
        {
            App.Singleton<IConfigSystem, Config.ConfigSystem>();
        }
    }
}